﻿using Microsoft.EntityFrameworkCore;
using SmartParkingServer.EFCore;
using SmartParkingServer.IDAL;
using SmartParkingServer.Models;
using System;

namespace SmartParkingServer.DAL
{
    public class EFCoreDbContext : IDbContext
    {
        EFCoreContext eFCoreContext = null;
        public EFCoreDbContext()
        {
            eFCoreContext = new EFCoreContext();
        }
        public EFCoreContext GetDbContext()
        {
            return eFCoreContext;
        }
    }
}
